#ifndef TERM_HPP
#define TERM_HPP

class Term {
public:
	//probability
	// pp = P(C=project)
	// pc = P(C=course)
	// pf = P(C=faculty)
	// ps = P(C=student)
	static double pp, pc, pf, ps;
	//probability
	// use log probabilities to avoid underflow
	// ppt = P(term|project)
	// pct = P(term|course)
	// pft = P(term|faculty)
	// pst = P(term|student)
	double ppt, pct, pft, pst;
	//counts
	int p,c,f,s;
	bool added;
	Term();
	void update(int,int,int,int);
private:
};

#endif